#ifndef _MOTOR_NEW_H_
#define _MOTOR_NEW_H_
#include "main.h"
#include "motor_bsp.h"

void motor_init(void);
void motor_run_to_target_pos(motor_57_t *motor ,motor_target_pos_t target_pos ,uint16_t speed, uint16_t acc);
void motor_pos_mode_to_target_pos(motor_57_t *motor, uint32_t plus, uint8_t dir, uint16_t speed);
#endif